/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.entity;

import com.jeeplus.modules.fleet.entity.Motorcade;
import com.jeeplus.modules.fleet.entity.VehicleInformation;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 年检Entity
 * @author 李超辉
 * @version 2019-03-14
 */
public class Inspection extends DataEntity<Inspection> {
	
	private static final long serialVersionUID = 1L;
	private String pro;		// 项目
	private String bm;		// 部门
	private String code;		// 年检单据号
	private Motorcade cd;		// 车队
	private VehicleInformation cph;		// 车牌号
	private Date date;		// 年检时间
	private String bldw;		// 年检办理单位
	private String fzr;		// 年检负责人
	private String jbr;		// 委托经办人
	private String njfy;		// 年检费用
	private String zffs;		// 支付方式
	private Date effect;		// 年检生效日期
	private Date invalid;		// 年检失效日期
	
	public Inspection() {
		super();
	}

	public Inspection(String id){
		super(id);
	}

	@ExcelField(title="项目", align=2, sort=7)
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}
	
	@ExcelField(title="部门", align=2, sort=8)
	public String getBm() {
		return bm;
	}

	public void setBm(String bm) {
		this.bm = bm;
	}
	
	@ExcelField(title="年检单据号", align=2, sort=9)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@ExcelField(title="车队", align=2, sort=10)
	public Motorcade getCd() {
		return cd;
	}

	public void setCd(Motorcade cd) {
		this.cd = cd;
	}
	
	@ExcelField(title="车牌号", align=2, sort=11)
	public VehicleInformation getCph() {
		return cph;
	}

	public void setCph(VehicleInformation cph) {
		this.cph = cph;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="年检时间", align=2, sort=12)
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	@ExcelField(title="年检办理单位", align=2, sort=13)
	public String getBldw() {
		return bldw;
	}

	public void setBldw(String bldw) {
		this.bldw = bldw;
	}
	
	@ExcelField(title="年检负责人", align=2, sort=14)
	public String getFzr() {
		return fzr;
	}

	public void setFzr(String fzr) {
		this.fzr = fzr;
	}
	
	@ExcelField(title="委托经办人", align=2, sort=15)
	public String getJbr() {
		return jbr;
	}

	public void setJbr(String jbr) {
		this.jbr = jbr;
	}
	
	@ExcelField(title="年检费用", align=2, sort=16)
	public String getNjfy() {
		return njfy;
	}

	public void setNjfy(String njfy) {
		this.njfy = njfy;
	}
	
	@ExcelField(title="支付方式", align=2, sort=17)
	public String getZffs() {
		return zffs;
	}

	public void setZffs(String zffs) {
		this.zffs = zffs;
	}
	
	@JsonFormat(pattern = "yyyy-MM")
	@ExcelField(title="年检生效日期", align=2, sort=18)
	public Date getEffect() {
		return effect;
	}

	public void setEffect(Date effect) {
		this.effect = effect;
	}
	
	@JsonFormat(pattern = "yyyy-MM")
	@ExcelField(title="年检失效日期", align=2, sort=19)
	public Date getInvalid() {
		return invalid;
	}

	public void setInvalid(Date invalid) {
		this.invalid = invalid;
	}
	
}